package cn.kgc.springbootday0102;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//  声明mapper接口所在的位置   项目启动时会扫描指定包下的所有接口  将生成代理对象托管到spring容器
@MapperScan("cn.kgc.springbootday0102.mapper")
public class Springbootday0102Application {

    public static void main(String[] args) {
        SpringApplication.run(Springbootday0102Application.class, args);
    }

}
